package com.szrt.cll.test.school.entity;

import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.context.annotation.Scope;

@Scope("prototype")
@Table(name="db1607_school_t")
public class SchoolEntity {

	/*
	 * CREATE TABLE `db1607_school_t` (
	  `ID` int(11) NOT NULL AUTO_INCREMENT COMMENT '班级ID主键',
	  `NAME` varchar(64) DEFAULT NULL COMMENT '班级名称',
	  `NUMBER` int(11) DEFAULT NULL COMMENT '班级人数',
	  `TEACHER` varchar(64) DEFAULT NULL COMMENT '老师姓名',
	  PRIMARY KEY (`ID`)
	) ENGINE=InnoDB DEFAULT CHARSET=utf8;
   */
	@Id
	private Integer id;
	private String name;
	private Integer number;
	private String teacher;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public String getTeacher() {
		return teacher;
	}
	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}
	
}
